body {
  margin: 0;
  padding: 0;
  outline: 0;
  font-size: 12px;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
address,
caption,
cite,
code,
dfn,
th,
var,
i {
    font-style: normal;
    font-weight: normal;
}
a {
  outline: none;
  text-decoration: none;
  color: #000;
}

a:hover {
  text-decoration: none;
}

html {
  zoom: 1;
}

html * {
  outline: 0;
  zoom: 1;
}

html button::-moz-focus-inner {
  border-color: transparent !important;
}


/*设置margin和padding为0*/

html,
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
a img {
  border: 0;
}

address,
caption,
cite,
code,
dfn,
th,
var,
i {
  font-style: normal;
  font-weight: normal;
}

li {
  list-style: none;
}

caption,
th {
  text-align: left;
}

q:before,
q:after {
  content: '';
}


input[type="submit"],
input[type="reset"],
input[type="button"],
input[type=date],
button,
select,
input[type=text] {
  /*去掉苹果的默认UI来渲染按钮 、解决部分手机浏览器对border：none无效办法*/
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
}

input:disabled {
  background-color: #fff;
  color: #ccc;
  opacity: 1;
}

input::-webkit-input-placeholder {
  color: #aaa;
}

input {
  outline: none;
}

input[type="text"]::-webkit-input-placeholder,
input[type="password"]::-webkit-input-placeholder {
  color: #999;
}

input[type="text"]::-moz-placeholder,
input[type="password"]::-moz-placeholder {
  color: #999;
}

input[type="text"]:-ms-input-placeholder,
input[type="password"]:-ms-input-placeholder {
  color: #999;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
  color: #999;
}

img {
  width: 100%;
  height: 100%;
  font-size: 0;
}

// 版心
.main-content {
  width: 1200px;
  margin: auto;
}

// 价格
.price {
  align-items: baseline;
  color: #e1251b;
  display: flex;
  font-family: arial, sans-serif;
  font-size: 12px;
  .big {
    font-size: 16px;
  }
  .small {
    font-size: 12px;
    &.sold-number {
      color: #999;
      margin-left: 5px;
    }
  }
}

// fade 动画
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.4s ease;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

/* 弹窗 */
.popup-mask {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1998;
  background-color: rgb(0, 0, 0, .15);
  width: 100%;
  height: 100%;
}


/* 提示性弹窗 */
.popup-box {
  position: fixed;
  z-index: 10000;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid rgba(0, 0, 0, .05);
  /* 提示性弹窗 */
  .tit {
    background: #f9f9f9;
    padding: 10px;
    display: flex;
    height: 14px;
    line-height: 14px;
    .text {
      color: #999;
      font-size: 14px;
      flex: 1;
    }
    .close {
      width: 12px;
      height: 12px;
      margin-top: 1px;
      background: url(@/assets/images/icons.png) no-repeat 0 -232px;
      cursor: pointer;
    }
  }

  /* 编辑性弹窗 */
  .con {
    padding: 20px;
    background: #fff;
    min-width: 450px;
    min-height: 100px;
    .tip {
      padding: 10px 20px;
      text-align: center;
      .tip-icon {
        display: inline-block;
        vertical-align: top;
        width: 32px;
        height: 32px;
        background: url(@/assets/images/icons.png) no-repeat;
      }
      .tip-icon.success {
        background-position: 0 -476px;
      }
      .tip-icon.fail {
        background-position: -37px -476px;
      }
      .tip-icon.warning {
        background-position: -74px -476px;
      }
      .tip-info {
        display: inline-block;
        vertical-align: top;
        margin-left: 20px;
        text-align: left;
        .result {
          font-size: 14px;
          height: 14px;
          line-height: 14px;
          .number {
            color: #e1251b;
            font-family: Verdana,sans-serif;
          }
        }
        .date {
          font-family: arial,sans-serif;
          color: #999;
          margin-top: 10px;
        }
        .btns {
          margin-top: 10px;
          color: #999;
          display: flex;
          .btn {
            color: #005ea7;
            .arrow {
              font-family: Consolas,sans-serif;
              margin-left: 3px;
            }
          }
          .btn-r {
            width: 72px;
            text-align: center;
            height: 26px;
            line-height: 26px;
            border-radius: 26px;
            border: 1px solid #e1251b;
            background: #e1251b;
            color: #fff;
            margin-top: 10px;
            &:hover {
              opacity: 0.9;
            }
          }
          .btn-g {
            width: 72px;
            text-align: center;
            height: 26px;
            line-height: 26px;
            border-radius: 26px;
            margin-top: 10px;
            background: #f9f9f9;
            border-color: #ddd;
            color: #000;
            margin-left: 15px;
            &:hover {
              background: #fff;
            }
          }
          .btn-r.btn-long {
            width: 110px;
          }
        }
      }
    }
    .edit {
      padding: 10px 10px 10px 10px;
      .item {
        display: flex;
        margin-top: 20px;
        position: relative;
        &:first-child {
          margin-top: 0;
        }
        .label {
          width: 80px;
          height: 32px;
          line-height: 32px;
        }
        .text-box {
          .input {
            border: 1px solid #eee;
            padding: 5px;
            height: 20px;
            width: 300px;
          }
          .area-box {
            display: flex;
            .area {
              border: 1px solid #eee;
              padding: 5px;
              height: 20px;
              line-height: 20px;
              width: 85px;
              margin-right: 10px;
              position: relative;
              &:last-child {
                margin-right: 0;
              }
              &::before {
                position: absolute;
                right: 10px;
                top: 12px;
                display: block;
                width: 0;
                height: 0;
                content: " ";
                font-size: 0;
                border: 5px solid transparent;
                border-top: 5px solid #bcbcbc;
              }
            }
          }
          .btn-r {
            &:hover {
              opacity: 0.9;
            }
          }
          .error-text {
            color: #e1251b;
            padding-left: 19px;
            position: relative;
            height: 14px;
            line-height: 14px;
            margin-top: 5px;
            margin-left: 5px;
            display: block;
            &::before {
              position: absolute;
              left: 0;
              top: 0;
              display: block;
              width: 14px;
              height: 14px;
              content: " ";
              font-size: 0;
              background: url(@/assets/images/icons.png) no-repeat -77px -517px;
            }
          }
        }
        .label-btn {
          width: 80px;
        }
        .btn-r {
          padding: 5px 15px;
          background: #e1251b;
          color: #fff;
          border-radius: 2px;
        }
        .btn-g {
          padding: 4px 14px;
          background: #f9f9f9;
          border-radius: 2px;
          margin-left: 12px;
          border: 1px solid #ddd;
          &:hover {
            background: #fff;
          }
        }
      }
      .item.error {
        .text-box {
          .error-text {
            display: block;
          }
        }
      }
    }
  }
}

/* 产品列表 */
.goods-list {
  background: #fff;
  .list-tit {
    height: 30px;
    line-height: 30px;
    display: flex;
    .text {
      flex: 1;
      .tit {
        font-size: 24px;
      }
      .description {
        font-size: 12px;
        margin-left: 10px;
        color: #999;
      }
    }
    .view-more {
      position: relative;
      color: #999;
      font-size: 12px;
      height: 19px;
      line-height: 19px;
      margin-top: 9px;
      .arrow {
        display: inline-block;
        font-family: Consolas,sans-serif;
        margin-left: 3px;
      }
      &:hover {
        color: #e1251b;
      }
    }
  }
  .list-con {
    display: flex;
    flex-wrap: wrap;
    .item {
      position: relative;
      width: 285px;
      margin-top: 20px;
      margin-right: 20px;
      -moz-transition: all 0.2s;
      -webkit-transition: all 0.2s;
      -o-transition: all 0.2s;
      transition: all 0.2s;
      cursor: pointer;
      &:hover {
        opacity: 0.8;
      }
      &:nth-child(4n) {
        margin-right: 0;
      }
      .goods-img {
        width: 285px;
        height: 285px;
        line-height: 285px;
        text-align: center;
        font-size: 0;
        img {
          max-width: 80%;
          max-height: 80%;
          vertical-align: middle;
          object-fit: scale-down
        }
      }
      .goods-msg {
        text-align: center;
        padding: 15px 10px 0;
        .goods-name {
          height: 18px;
          line-height: 16px;
          font-size: 14px;
          max-width: 100%;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .goods-price {
          display: flex;
          justify-content: center;
          height: 16px;
          line-height: 16px;
          margin-top: 10px;
          overflow: hidden;
          .old-price {
            margin-left: 10px;
            color: #999;
            font-family: arial,sans-serif;
            text-decoration: line-through;
            height: 12px;
            line-height: 12px;
            margin-top: 3px;
          }
        }
      }
    }
  }
}
/* 产品列表 end */

/* 步骤 */

.step-box {
  display: flex;
  height: 70px;
  padding: 0 20px 7px;
  margin-top: 10px;
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .05);
  margin-bottom: 30px;
  border-bottom: 2px solid #e1251b;
}

.step-box .left {
  flex: 1;
  margin-top: 16px;
}

.step-box .left .img {
  display: inline-block;
  vertical-align: top;
  width: 38px;
  height: 38px;
}

.step-box .left .text {
  display: inline-block;
  vertical-align: top;
  height: 38px;
  line-height: 38px;
  font-size: 15px;
  font-weight: 600;
}

.step-box .steps {
  display: flex;
}

.step-box .steps .item {
  padding-left: 90px;
  margin-left: 40px;
  position: relative;
  background: url(@/assets/images/icons.png) no-repeat 0 -292px;
}

.step-box .steps .item:first-child {
  background: none;
}

.step-box .steps .item .number {
  height: 20px;
  line-height: 20px;
  margin-top: 12px;
  color: #999;
  font-family: arial,sans-serif;
}

.step-box .steps .item .text {
  height: 24px;
  line-height: 24px;
  font-size: 14px;
  color: #999;
}

.step-box .steps .item.active .number,
.step-box .steps .item.active .text {
  color: #000;
}


/* 步骤 end */

/* 面包屑 */
.crumbs {
  font-size: 12px;
  line-height: 1;
  padding: 23px 0 20px;
  .item-a {
    &:hover {
      text-decoration: underline;
    }
  }
  .arrow {
    font-family: Consolas,sans-serif;
    margin: 0 2px;
  }
  .item-span {
    color: #999;
  }
}
/* 面包屑 end */

/* 版心  */
.content {
  width: 1200px;
  margin: auto auto 20px;
}
:deep(.el-select-dropdown__item.selected) {
  color: #000 !important;
  font-weight: 400 !important;
}
/* 复选框 */

.checkbox {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: top;
  position: relative;
  outline: none;
  background: none;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow: none;
}

.checkbox::before {
  position: absolute;
  top: 0;
  left: 0;
  content: " ";
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.checkbox.default::before {
  border: 1px solid #ddd;
  background: #fff;
  z-index: 1;
}

.checkbox.checked::before {
  border: 0;
  background: url('@/assets/images/icons.png') no-repeat 0 -367px;
  z-index: 1;
}

.checkbox.disabled::before {
  background: #eee;
  cursor: not-allowed;
  border: 1px solid #ddd;
}

/* 复选框 end */
.goods-list .component-list-con .item .goods-msg .goods-name {
    height: 18px;
    line-height: 16px;
    font-size: 14px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

// 富文本
.rich-text{
  blockquote{
    border-left: 2px solid #ccc;
    margin-left: 1.5rem;
    padding-left: 1rem;
  }

  p{
    margin: 16px 0;
  }

  pre{
    background: #f5f2f0;
    padding: 1em;
    margin: 0.5em 0;
    overflow: auto;
  }

}

/* 空页面 */
.empty {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0;
  width: 100%;
  .img {
    width: 250px;
    height: 200px;
    font-size: 0;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .action {
    margin-left: 10px;
    .text {
      color: #999;
      font-size: 14px;
      margin-top: 40px;
    }
    .btn {
      display: inline-block;
      padding: 7px 20px;
      background: #e1251b;
      border-radius: 30px;
      color: #fff;
      margin-top: 20px;
    }
    .btn-r {
      display: inline-block;
      padding: 6px 18px;
      border: 1px solid #ddd;
      background: #f9f9f9;
      border-radius: 30px;
      margin-top: 20px;
      margin-left: 10px;
      color: #666;
      &:hover {
        background: #fff;
      }
    }
  }
}

/* 空页面 end */

/* 页码 */
.pages {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  text-align: center;
  .item {
    margin-left: 5px;
    display: block;
    padding: 3px 7px;
    min-width: 18px;
    height: 24px;
    line-height: 24px;
    word-break: keep-all;
    border: 1px solid #eee;
    font-size: 12px;
    font-family: arial,sans-serif;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    background: #fff;
    &:hover {
      color: #e1251b;
    }
  }
  .cur {
    color: #fff;
    background: #e1251b;
    border-color: #e1251b;
    &:hover {
      color: #fff;
      background: #e1251b;
      border-color: #e1251b;
    }
  }
  .ellipsis {
    display: block;
    width: 30px;
    height: 32px;
    line-height: 24px;
    text-align: center;
    margin-right: -5px;
  }
  .go-page {
    height: 32px;
    line-height: 30px;
    margin-left: 10px;
    .page-input {
      width: 28px;
      height: 24px;
      padding: 3px 5px;
      margin: 0 5px;
      text-align: center;
      border: 1px solid #eee;
      vertical-align: top;
    }
    .page-btn {
      margin-left: 5px;
      display: inline-block;
      padding: 3px 5px;
      border: 1px solid #eee;
      min-width: 28px;
      height: 24px;
      line-height: 24px;
      word-break: keep-all;
      font-size: 12px;
      font-family: arial,sans-serif;
      vertical-align: top;
      -moz-transition: all 0.1s;
      -webkit-transition: all 0.1s;
      -o-transition: all 0.1s;
      transition: all 0.1s;
      background: #fff;
      &:hover {
        color: #e1251b;
      }
    }
  }
  .item.prev {
    padding: 3px 13px;
  }
  .item.next {
    padding: 3px 13px;
  }
  .total-num {
    height: 32px;
    line-height: 30px;
    margin-left: 10px;
    .num {
      margin: 0 3px;
      font-family: arial,sans-serif;
    }
  }
  .item.default {
    color: #d2d2d2;
    cursor: not-allowed;
    background: #fff;
    border-color: #eee;
    &:hover {
      color: #d2d2d2;
      cursor: not-allowed;
      background: #fff;
      border-color: #eee;
    }
  }
}

/* 页码 end */

/* 日期选择器统一色调，添加 popper-class="con-box-picker-popper" 生效 */
.con-box-picker-popper {
  .el-date-table {
    td.current {
      &:not(.disabled) {
        span {
          color: #FFF;
          background-color: #e1251b;
        }
      }
    }
    td.available {
      &:hover {
        color: #e1251b;
      }
    }
    td.today {
      span {
        color: #e1251b;
      }
    }
  }
}

/* 日期选择器 end */

/* 顶部 */
.top {
  width: 100%;
  height: 36px;
  line-height: 36px;
  color: #999;
  background-color: #f7f7f7;
  .con {
    width: 1200px;
    height: 36px;
    display: flex;
    margin: auto;
    .left {
      position: relative;
      padding-left: 22px;
      flex: 1;
      overflow: hidden;
      &::before {
        position: absolute;
        left: 0;
        top: 11px;
        display: block;
        content: ' ';
        width: 12px;
        height: 14px;
        background: url(@/assets/images/icons.png) no-repeat;
      }
      .item {
        text-decoration: underline;
        cursor: pointer;
        -moz-transition: all 0.2s;
        -webkit-transition: all 0.2s;
        -o-transition: all 0.2s;
        transition: all 0.2s;
        &:hover {
          color: #e1251b;
        }
      }
    }
    .right {
      display: flex;
      .item {
        position: relative;
        .text {
          color: #999;
        }
        .link {
          position: relative;
          display: inline-block;
          vertical-align: top;
          margin-right: 10px;
          color: #e1251b;
          cursor: pointer;
          .link-a {
            display: inline-block;
            vertical-align: top;
            color: #e1251b;
            cursor: pointer;
            &:hover {
              font-weight: 600;
            }
          }
          .link-name {
            color: #999;
            position: relative;
            padding-right: 18px;
            padding-left: 2px;
            display: inline-block;
            max-width: 70px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            &::before {
              position: absolute;
              right: 3px;
              display: block;
              width: 0;
              height: 0;
              content: " ";
              border: 5px solid transparent;
              border-radius: 2px;
              top: 16px;
              border-top: 5px solid #888;
            }
            &::after {
              position: absolute;
              right: 3px;
              display: block;
              width: 0;
              height: 0;
              content: " ";
              border: 5px solid transparent;
              border-radius: 2px;
              top: 15px;
              border-top: 5px solid #f7f7f7;
            }
          }
          &:hover {
            .link-name {
              color: #e1251b;
              &::before {
                top: 16px;
                border-top: 5px solid #e1251b;
              }
            }
            .link-select {
              display: block;
            }
          }
          .link-select {
            position: absolute;
            width: 70px;
            padding: 5px 3px;
            left: 50%;
            transform: translateX(-50%);
            top: 36px;
            background: #fff;
            box-shadow: 0 0 5px rgba(0, 0, 0, .15);
            z-index: 91;
            display: none;
            &::before {
              position: absolute;
              top: -11px;
              left: 50%;
              transform: translateX(-50%);
              display: block;
              content: " ";
              width: 0;
              height: 0;
              border: 5px solid transparent;
              border-bottom: 6px solid #dedede;
            }
            &::after {
              position: absolute;
              left: 50%;
              transform: translateX(-50%);
              display: block;
              content: " ";
              width: 0;
              height: 0;
              border: 5px solid transparent;
              border-bottom: 6px solid #dedede;
              top: -10px;
              border-bottom: 6px solid #fff;
            }
            .link-item {
              display: block;
              text-align: center;
              color: #999;
              line-height: 12px;
              padding: 8px 0;
              &:hover {
                color: #e1251b;
              }
            }
          }
        }
        .item-a {
          padding: 0 10px 0 11px;
          position: relative;
          z-index: 90;
          display: block;
          color: #999;
          &::after {
            position: absolute;
            top: 10px;
            left: 0;
            display: block;
            content: ' ';
            width: 1px;
            height: 16px;
            background: #ccc;
          }
        }
        .item-b {
          padding: 0 10px 0 11px;
          position: relative;
          z-index: 90;
          display: block;
          color: #999;
          &::after {
            position: absolute;
            top: 10px;
            left: 0;
            display: block;
            content: ' ';
            width: 1px;
            height: 16px;
            background: #ccc;
          }
        }
        &:hover {
          .item-a {
            color: #e1251b;
          }
          .item-b {
            color: #e1251b;
          }
        }
      }
      .item.mobile {
        .item-a {
          padding-left: 24px;
          &::before {
            position: absolute;
            left: 10px;
            top: 11px;
            display: block;
            content: ' ';
            width: 12px;
            height: 14px;
            background: url(@/assets/images/icons.png) no-repeat 0 -19px;
          }
        }
        &:hover {
          .item-a {
            &::before {
              background-position: -14px -19px;
            }
          }
          .mobile-select {
            display: block;
          }
        }
        .mobile-select.option {
          width: 75px;
          height: auto;
          text-align: center;
          line-height: 1.5em;
          padding: 10px 0;
          .option-text {
            margin: 0;
            cursor: pointer;
            color: #999;
            line-height: 1.5em;
          }
        }
        .mobile-select {
          position: absolute;
          display: none;
          top: 36px;
          left: 50%;
          transform: translateX(-50%);
          transition: height .3s;
          -webkit-transition: height .3s;
          width: 120px;
          height: 145px;
          box-sizing: border-box;
          background-color: #fff;
          -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
          box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
          z-index: 91;
          text-align: -webkit-center;
          .code {
            width: 100px;
            height: 100px;
            font-size: 0;
            margin-top: 10px;
            img {
              width: 100%;
              height: 100%;
            }
          }
          .text {
            width: 100%;
            font-size: 12px;
            line-height: 20px;
            text-align: center;
            color: #000;
            margin-top: 7px;
          }
          &::before {
            position: absolute;
            top: -11px;
            left: 50%;
            transform: translateX(-50%);
            display: block;
            content: ' ';
            width: 0;
            height: 0;
            border: 5px solid transparent;
            border-bottom: 6px solid #dedede;
          }
          &::after {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            display: block;
            content: ' ';
            width: 0;
            height: 0;
            border: 5px solid transparent;
            border-bottom: 6px solid #dedede;
            top: -10px;
            border-bottom: 6px solid #fff;
          }
        }
      }
      .item.top-cart {
        .item-a {
          padding-left: 32px;
          &::before {
            position: absolute;
            left: 10px;
            top: 10px;
            display: block;
            content: ' ';
            width: 17px;
            height: 15px;
            background: url(@/assets/images/icons.png) no-repeat 0 -38px;
          }
          .number {
            font-family: arial,sans-serif;
          }
        }
        &:hover {
          .item-a {
            &::before {
              background-position: -22px -38px;
            }
          }
        }
        .cart-select {
          position: absolute;
          right: 0;
          top: 36px;
          z-index: 89;
          width: 316px;
          height: auto;
          max-height: 0;
          color: #000;
          background: #fff;
          box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
          -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
          transition: max-height .3s;
          -webkit-transition: max-height .3s;
          overflow: hidden;
          .cart-list {
            padding: 0 20px;
            max-height: 324px;
            overflow-y: auto;
            .list-item {
              display: flex;
              padding: 10px 0;
              border-bottom: 1px solid #eee;
              &:last-child {
                border: 0;
              }
              .goods-img {
                width: 60px;
                height: 60px;
                font-size: 0;
                cursor: pointer;
                img {
                  width: 100%;
                  height: 100%;
                }
              }
              .goods-msg {
                margin-left: 10px;
                line-height: 30px;
                flex: 1;
                .name {
                  max-width: 175px;
                  white-space: nowrap;
                  text-overflow: ellipsis;
                  overflow: hidden;
                  cursor: pointer;
                }
                .info {
                  display: flex;
                  .price {
                    color: #000;
                  }
                  .number {
                    margin-left: 10px;
                    color: #999;
                    font-family: arial,sans-serif;
                  }
                }
              }
              &:hover {
                .goods-msg {
                  .name {
                    color: #e1251b;
                  }
                }
              }
              .del {
                width: 14px;
                height: 14px;
                background: url(@/assets/images/icons.png) no-repeat 0 -415px;
                margin-top: 23px;
                cursor: pointer;
              }
            }
          }
          .list-total {
            padding: 15px 20px;
            background: #fafafa;
            display: flex;
            .total-msg {
              flex: 1;
              .total-number {
                height: 16px;
                line-height: 16px;
              }
              .price {
                height: 20px;
                line-height: 20px;
                margin-top: 4px;
              }
            }
            .total-btn {
              width: 130px;
              height: 40px;
              line-height: 40px;
              font-size: 14px;
              text-align: center;
              color: #f5f5f5;
              background: #e1251b;
              cursor: pointer;
            }
          }
        }
      }
      .item.top-cart.top-cart-empty {
        &:hover {
          .item-a {
            background: #fff;
            &::after {
              width: 0;
            }
          }
          .no-goods {
            height: 94px;
            line-height: 94px;
          }
        }
        .no-goods {
          position: absolute;
          right: 0;
          top: 36px;
          z-index: 89;
          width: 316px;
          height: 0;
          text-align: center;
          color: #000;
          background: #fff;
          -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
          box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
          -webkit-transition: height .3s;
          transition: height .3s;
          overflow: hidden;
        }
      }
      .item.top-cart.top-cart-on {
        .item-a {
          background: #e1251b;
          color: #fff;
          height: 36px;
          &::after {
            width: 0;
          }
          &::before {
            background-position: -44px -38px;
          }
        }
        &:hover {
          .item-a {
            background: #fff;
            color: #e1251b;
            &::before {
              background-position: -22px -38px;
            }
          }
          .cart-select {
            max-height: 393px;
          }
        }
      }
    }
  }
}

/* 顶部 end  */


/* 头部 */
.head {
  background: #fff;
  width: 100%;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .05);
  .content {
    height: 94px;
    display: flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    padding-top: 20px;
    box-sizing: border-box;
  }
  .logo {
    height: 54px;
    display: flex;
    cursor: pointer;
    .logo-img {
      display: block;
      width: 190px;
      height: 48px;
      background-size: 100%;
    }
    .name {
      margin-left: 10px;
      .cn {
        font-size: 16px;
        font-weight: 700;
        display: block;
        line-height: 20px;
        margin-top: 7px;
      }
      .en {
        font-size: 12px;
        color: #ccc;
        display: block;
        line-height: 16px;
        margin-top: 5px;
      }
    }
  }
  .menu {
    display: flex;
    .item {
      position: relative;
      display: block;
      line-height: 52px;
      height: 52px;
      padding: 0 20px;
      font-size: 14px;
      &:hover {
        color: #e1251b;
      }
    }
    .item.item-on {
      color: #e1251b;
    }
  }
  .menu-en {
    .item {
      padding: 0 15px;
    }
  }
  .search {
    position: relative;
    width: 320px;
    height: 38px;
    margin-top: 8px;
    .search-input-box {
      height: 38px;
      border: 2px solid #e1251b;
      width: 100%;
      box-sizing: border-box;
      position: absolute;
      right: 0;
      top: 0;
      z-index: 10;
      .search-input {
        display: inline-block;
        border: 0;
        width: 51%;
        height: 99%;
        line-height: 34px;
        padding: 0 10px;
      }
      .select-search {
        display: inline-block;
        width: 12%;
        line-height: 34px;
        text-align: center;
        cursor: pointer;
        color: #e1251b;
      }
      .select-list {
        position: absolute;
        right: 89px;
        top: 34px;
        border: 2px solid #e1251b;
        background-color: #fff;
        .select-item {
          padding: 0 8px;
          line-height: 2.5em;
        }
      }
    }
    .search-btn {
      width: 93px;
      height: 38px;
      padding-left: 7px;
      font-size: 14px;
      letter-spacing: 5px;
      position: absolute;
      right: 0;
      top: 0;
      background: #e1251b;
      border: 0;
      color: #fff;
      cursor: pointer;
      z-index: 11;
      &:hover {
        opacity: 0.9;
      }
    }
  }
}

/* 头部 end */


/* 底部 */
.foot {
  min-height: 230px;
  width: 100%;
  background: #222;
  color: #666;
  .foot-box {
    width: 1200px;
    margin: auto;
    display: flex;
    padding: 40px 0 30px;
    background-color: #222;
    .company-msg {
      padding: 0 60px;
      border-right: 1px solid #333;
      .img {
        display: block;
        margin: auto;
        height: 54px;
        object-fit: contain;
        background-size: 100%;
      }
      .name {
        color: #00a0e9;
        font-size: 14px;
        margin: 5px 0 10px;
        text-align: center;
      }
      .web {
        line-height: 20px;
      }
    }
    .right {
      display: flex;
      margin-left: 60px;
      padding-top: 5px;
      .item {
        width: 100px;
        margin-right: 80px;
        &:last-child {
          margin-right: 0;
        }
      }
      .item.official-code {
        text-align: center;
        .img {
          width: 100px;
          height: 100px;
          font-size: 0;
          img {
            width: 100%;
            height: 100%;
          }
        }
        .text {
          margin-top: 5px;
        }
      }
      .item.service {
        .tit {
          font-size: 14px;
          margin-top: 3px;
          margin-bottom: 20px;
        }
        .con {
          .text {
            margin-top: 16px;
          }
        }
      }
    }
  }
  .copyright {
    width: 100%;
    background: #1b1b1b;
    padding: 10px 0;
    text-align: center;
  }
}

/* 底部 end */
/* 修改退款金额 */
.popup-box {
  .con.modify-amount {
    position: relative;
    max-width: 260px;
    .int-box {
      display: block;
      width: 90%;
      margin: 0 auto;
      .int {
        display: block;
        width: 100%;
        border: 1px solid #eee;
        line-height: 1em;
        padding: 10px;
        box-sizing: border-box;
      }
    }
    .max-amount {
      margin-top: 5px;
      color: #888;
    }
    .foot-btn {
      display: block;
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      text-align: center;
      padding: 20px;
      box-sizing: border-box;
      .confirm {
        display: inline-block;
        padding: 8px 20px;
        background: #e1251b;
        color: #fff;
        border-radius: 2px;
        cursor: pointer;
      }
    }
    .error {
      margin-top: 5px;
      color: #e1251b;
    }
  }
}

/* 优选好店 */
.shop-list {
  .list-con {
    .item {
      display: flex;
      padding: 15px;
      width: 252px;
      border: 1px solid #eee;
      cursor: auto;
      .shop-img {
        width: 120px;
        height: 120px;
        line-height: 120px;
        font-size: 0;
        text-align: center;
        img {
          max-width: 100%;
          max-height: 100%;
          vertical-align: middle;
        }
      }
      .shop-msg {
        margin-left: 10px;
        margin-top: 15px;
        height: 105px;
        .shop-name {
          max-width: 120px;
          height: 20px;
          line-height: 17px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          font-size: 14px;
        }
        .focus-number {
          height: 12px;
          line-height: 12px;
          margin-top: 10px;
          color: #999;
        }
        .go-shop {
          display: block;
          margin-top: 30px;
          background: #e1251b;
          width: 80px;
          height: 24px;
          line-height: 24px;
          border-radius: 30px;
          text-align: center;
          color: #fff;
          padding-left: 3px;
          cursor: pointer;
          .arrow {
            display: inline-block;
            font-family: Consolas;
            margin-left: 3px;
          }
        }
      }
    }
  }
}

/* 优选好店 end */

/* 隐私条款与服务协议 */
.terms-container {
  .r-header {
    background: #fff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.05);
    .content {
      display: flex;
      padding: 20px 0;
      align-items: center;
    }
    .logo {
      cursor: pointer;
      display: flex;
      margin-right: 70%;
      .img {
        display: inline-block;
        vertical-align: top;
        width: 190px;
        height: 48px;
        background: url(@/assets/images/register-logo.png) no-repeat;
        background-size: 100%;
      }
      .text {
        font-size: 0;
        display: inline-block;
        vertical-align: top;
        line-height: 48px;
        margin-left: 5px;
      }
    }
    .go-login {
      font-size: 14px;
      .login-btn {
        font-size: 13px;
        display: inline-block;
        padding: 6px 22px;
        background: #146ef7;
        color: #fff;
        border-radius: 30px;
        margin-left: 7px;
      }
    }
  }
}

/* 滑动时的头部 */
.head-scroll {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #fff;
  animation: hdnav2-show .3s;
  -webkit-animation: hdnav2-show .3s;
  -moz-animation: hdnav2-show .3s;
  -o-animation: hdnav2-show .3s;
  z-index: 100;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
  .content {
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    align-items: center;
    height: 60px;
  }
  .logo {
    height: 40px;
    display: flex;
    margin-top: -8px;
    cursor: pointer;
    .logo-img {
      display: block;
      width: 190px;
      height: 48px;
      font-size: 0;
      background-size: 100%;
    }
    .name {
      line-height: 15px;
      margin-left: 10px;
      margin-top: 5px;
      .cn {
        display: block;
        font-size: 14px;
        letter-spacing: 1px;
        font-weight: 600;
      }
      .en {
        color: #ccc;
        margin-top: 3px;
        display: block;
      }
    }
  }
  .menu {
    display: flex;
    .item {
      padding: 0 25px;
      font-size: 14px;
      &:hover {
        color: #e1251b;
      }
    }
    .item.item-on {
      color: #e1251b;
    }
  }
  .menu-en {
    .item {
      padding: 0 10px;
      font-size: 12px;
    }
  }
  .left {
    display: flex;
    align-items: center;
  }
  .right {
    display: flex;
    align-items: center;
  }
  .search {
    position: relative;
    height: 38px;
    .search-input {
      width: 220px;
      height: 38px;
      border: 0;
      border-bottom: 1px solid #e1251b;
      padding: 0 48px 0 10px;
      box-sizing: border-box;
    }
    .search-btn {
      width: 36px;
      height: 36px;
      position: absolute;
      right: 0;
      top: 0;
      cursor: pointer;
      z-index: 11;
      font-size: 0;
      background: url(@/assets/images/icons.png) no-repeat -19px -58px #ffff;
      -moz-transition: all 0.2s;
      -webkit-transition: all 0.2s;
      -o-transition: all 0.2s;
      transition: all 0.2s;
      border: 11px solid #fff;
      &:hover {
        opacity: 0.9;
      }
    }
  }
  .scroll-cart {
    position: relative;
    margin-left: 30px;
    margin-right: 15px;
    width: 17px;
    height: 15px;
    background: url(@/assets/images/icons.png) no-repeat -22px -38px;
    cursor: pointer;
    border-top: 8px solid #fff;
    border-bottom: 7px solid #fff;
    border-left: 6px solid #fff;
    border-right: 7px solid #fff;
    .number {
      position: absolute;
      top: -9px;
      left: 5px;
      font-size: 12px;
      font-family: arial;
      padding: 0 5px;
      background: #e1251b;
      color: #fff;
      height: 16px;
      line-height: 16px;
      min-width: 16px;
      border-radius: 30px;
      margin-left: 10px;
      text-align: center;
      box-sizing: border-box;
    }
  }
}

/* 滑动时的头部 */
